
import {
    toast,
    promptBox,
    print,
    output
} from 'nc-lightapp-front';


export default class Main {
    constructor(comp) {
        this.comp = comp;
    }


    // 返回按钮返回上一级表格
    goToBackAddPage = () => {
        const {props} = this.comp;
        const {dispatch} = props;

        dispatch({
            type: 'emp/update',
            payload: {
                addPageDisp: 'block',
                qryEntryDisp: 'none',
                addBtnDisp: 'block'
            }
        });
    }
      
}